package cn.daichi.delayqueue.plugins;

import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class MsgReceiver {
    @RabbitListener(queues = PluginsDelayRabbitConfig.QUEUE_NAME)
    public void handleMsg(String msg) {
        log.info("handleMsg,{}", msg);
    }
}
